package com.flowCloud.config.beetlsql;

import lombok.extern.slf4j.Slf4j;
import org.beetl.sql.ext.DebugInterceptor;

/**
 * @Author: Pompey_hpy
 * @Date: 2021/01/01
 * @Description:   beetlsql 日志重写
 */
@Slf4j
public class BeetlSqlDebugInterceptor extends DebugInterceptor {


    @Override
    protected void println(String str) {
        log.info("\n"+str);
    }

    @Override
    protected void error(String str) {
        log.error("\n"+str);
    }

}
